import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import settings from "./settings.js";
import Antd from 'ant-design-vue';
import VueI18n from 'vue-i18n';
import 'ant-design-vue/dist/antd.css';
import 'xterm/css/xterm.css'
import 'xterm/lib/xterm'

//导入axios
import axios from "axios";

//导入 qs
import qs from "qs";

var app = createApp(App)

//设置全局属性
app.config.globalProperties.$settings = settings;
app.config.globalProperties.$axios = axios;
app.config.globalProperties.$qs = qs;

// 配置echarts插件
let echarts = require('echarts');
app.config.globalProperties.$echarts = echarts;

app.use(store).use(router).use(Antd).mount("#app");


